package com.huashi.dealer.modular.business.user.param;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "门店后台-管理员用户新增/编辑参数")
public class StoreUserSaveRequest {
    @Schema(description = "用户ID，编辑时必传")
    private Long storeUserId;

    @Schema(description = "用户名")
    private String userName;

    @Schema(description = "密码(新增必传，编辑可选)")
    private String password;

    @Schema(description = "手机号")
    private String mobile;

    @Schema(description = "确认密码(新增必传，编辑可选)")
    private String passwordConfirm;

    @Schema(description = "真实姓名/职务")
    private String realName;

    @Schema(description = "上级主管ID，可选")
    private Long parentId;

    @Schema(description = "角色ID列表")
    private List<Long> roleIds;

    @Schema(description = "省份ID")
    private Long provinceId;

    @Schema(description = "城市ID")
    private Long cityId;

    @Schema(description = "区县ID")
    private Long regionId;

    @Schema(description = "详细地址")
    private String address;
}


